PHPMailer\PHPMailer\PHPMailer D

Total Complexity 590
Dependencies 7
Dependents 2
Total lines 4,806
Lines of code 2,406
Logical lines of code 1,329
Comment lines 1,797
Methods 112
Properties 77

Methods 112

Method Rating Maintainability Complexity Lines of code
createBody()
D
21
31 254
smtpConnect()
D
32 31 91
preSend()
C
31 30 102
DKIM_Add()
B
30 20 117
createHeader()
B
37 23 68
wrapText()
B
37 21 78
msgHTML()
B
36 21 77
attachAll()
B
37 15 82
encodeHeader()
B
39 15 62
smtpSend()
A
40 13 59
mb_pathinfo()
A
48 14 34
sendmailSend()
A
41 11 62
getMailMIME()
A
46 12 38
mailSend()
A
47 12 33
parseAddresses()
A
46 11 39
validateAddress()
A
48 9 36
addAttachment()
A
47 9 35
addEmbeddedImage()
A
47 9 35
isValidHost()
A
54 10 19
setLanguage()
A
41 7 55
addAnAddress()
A
47 8 40
punyencodeAddress()
A
52 9 24
edebug()
A
47 8 38
addOrEnqueueAnAddress()
A
48 8 33
encodeString()
A
49 8 32
_mime_types()
A
32 2 120
setFrom()
A
50 8 27
postSend()
A
51 8 26
serverHostname()
A
57 8 16
encodeQ()
S
50 7 27
utf8CharBoundary()
S
51 7 26
encodeFile()
S
54 7 20
setError()
S
55 7 19
DKIM_QP()
S
58 7 13
addStringEmbeddedImage()
S
50 6 28
DKIM_Sign()
S
53 6 22
setWordWrap()
S
58 6 16
isShellSafe()
S
57 6 15
addCustomHeader()
S
57 6 15
addStringAttachment()
S
50 5 28
getBoundary()
S
55 5 20
generateId()
S
57 5 16
setMessageType()
S
59 5 16
base64EncodeWrapMB()
S
51 4 24
send()
S
60 4 15
mailPassthru()
S
60 4 13
lang()
S
62 4 12
cidExists()
S
66 4 8
DKIM_HeaderC()
S
57 3 15
doCallback()
S
70 3 5
attachmentExists()
S
67 3 8
inlineImageExists()
S
67 3 8
smtpClose()
S
71 3 6
normalizeBreaks()
S
63 3 10
__construct()
S
69 3 6
clearCCs()
S
68 2 7
clearAddresses()
S
68 2 7
clearBCCs()
S
68 2 7
quotedString()
S
70 2 6
DKIM_BodyC()
S
68 2 7
filenameToType()
S
66 2 8
html2text()
S
64 2 10
set()
S
66 2 8
hasMultiBytes()
S
70 2 6
idnSupported()
S
78 2 3
addrFormat()
S
67 2 7
isHTML()
S
70 2 7
isSendmail()
S
65 2 9
isQmail()
S
65 2 9
getSMTPInstance()
S
71 2 6
addrAppend()
S
67 2 7
validateEncoding()
S
64 1 13
headerLine()
S
79 1 3
hasLineLongerThanMax()
S
77 1 3
setLE()
S
80 1 3
sign()
S
71 1 6
addCC()
S
79 1 3
addAddress()
S
79 1 3
alternativeExists()
S
80 1 3
__destruct()
S
82 1 3
isMail()
S
81 1 3
isSMTP()
S
81 1 3
stripTrailingWSP()
S
79 1 3
getToAddresses()
S
82 1 3
getCcAddresses()
S
82 1 3
getBccAddresses()
S
82 1 3
getReplyToAddresses()
S
82 1 3
getAllRecipientAddresses()
S
82 1 3
has8bitChars()
S
79 1 3
getOAuth()
S
82 1 3
getLE()
S
81 1 3
addBCC()
S
79 1 3
clearReplyTos()
S
77 1 4
getAttachments()
S
82 1 3
clearAllRecipients()
S
70 1 7
clearAttachments()
S
81 1 3
clearCustomHeaders()
S
81 1 3
endBoundary()
S
78 1 3
rfcDate()
S
75 1 4
getSentMIMEMessage()
S
75 1 4
textLine()
S
80 1 3
isError()
S
81 1 3
secureHeader()
S
77 1 3
getTranslations()
S
82 1 3
getCustomHeaders()
S
82 1 3
setSMTPInstance()
S
77 1 4
clearQueuedAddresses()
S
68 1 8
isPermittedPath()
S
78 1 3
encodeQP()
S
79 1 3
getLastMessageID()
S
82 1 3
addReplyTo()
S
79 1 3
setOAuth()
S
81 1 3